﻿@using WebApplication1.Controllers
@model IEnumerable<Student>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Listing</title>
</head>
<body>
    <div> 
        <ul>
            @foreach(Student student in ViewBag.Listing)
            {
            <li>@student.Name    @student.Age</li>
            }
        </ul>
    </div>
</body>
</html>
